<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>教学班序号</title>
	<load href="__JS__/jQuery/jquery.js" />
    <load href="__JS__/jQuery/jquery.form.js" />
	<script type="text/JavaScript">
       $(function(){
           $('#form1').ajaxForm({
               //beforeSubmit:  function(){alert("before");},  // pre-submit callback
               success:       complete,  // post-submit callback
               error:function(){alert("error");},
               dataType: 'json'
           });
           
           function complete(data){
               if (data.status==1)
               {
               	window.location='__URL__/classdetail/id/';
               }else{
                   $('#result').html(data.info).show();
               }
           }
       });
       </script>
</head>

<body bgcolor="#EEEEEE">
	<layout name="Auth:header2" />
	<iframe src="__URL__/menu" style="position:absolute; left:40px; top:350px; width:180px; height:190px;" frameborder=”no” border=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no”></iframe>
	<div style="position:relative; top:-50px; left:240px; font-size:12px; width:60%;">
	当前位置：
	<a href='__APP__/index/index'>主页</a>>
	<a href='__URL__/index'>后台管理</a>>
	<a href='__URL__/classdetail'>教学班管理</a>>
	教学班编辑
	</div>
	<form id='form1' method="post" action="__URL__/classupdate" >
		<input type="hidden" name="id" value={$vo.id}>
		<div id='result'></div>	
		<div style="width:70%; position:relative; left:160px;" align="right"><a href="__URL__/classdetail" style="text-decoration:none">返回</a></div>
		<table border="0" align="center">
			<tr>
				<td width="400" >教学班名称 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {$vo.cname}</td>
			</tr>
			<tr>
				<td width="400" >修改教学班序号：<input type="text" name="number" value={$vo.number}><td/>				
			</tr>
			<tr>
				<td><input type="submit" value="更新"></td>
			</tr>
		</table>
	</form>
</body>
</html>
